package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.TeachersTimeMgt;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TeachersTimeMgtMapper {

    List<TeachersTimeMgt> selectByFilter(@Param("name") String name, @Param("classType")String classType,
                                         @Param("startTime") Date startTime);

    int deleteByPrimaryKey(@Param("index") Long index);

    int insert(TeachersTimeMgt record);

    int insertSelective(TeachersTimeMgt record);

    TeachersTimeMgt selectByPrimaryKey(@Param("index") Long index);

    int updateByPrimaryKeySelective(TeachersTimeMgt record);

    int updateByPrimaryKey(TeachersTimeMgt record);
}